﻿namespace WindowsServiceApp
{
    using System;

    using Abp.Dependency;
    using Abp.Quartz.Quartz;

    using Quartz;
    public class WriteLogJob : JobBase, ITransientDependency
    {
        /// <summary>
        /// 执行job
        /// </summary>
        /// <param name="context"></param>
        public override void Execute(IJobExecutionContext context)
        {
            var msg = $"{DateTime.Now.ToString("HH:mm:ss")}:executed WriteLogJob";
            this.Logger.Info(msg);
        }
    }
}